package com.ruoyi.system.domain;

import lombok.Data;

import java.util.Objects;

/**
 * @author lzj
 */
@Data
public class LogEntry {
    private String obuId;
    private String obuPlate;
    private String icCard0002;
    private String icCard0015;
    private String icCard0019;
    private String ef04Info;
    private String ef01Info;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof LogEntry)) return false;

        LogEntry logEntry = (LogEntry) o;

        return Objects.equals(obuId, logEntry.obuId) &&
                Objects.equals(icCard0002, logEntry.icCard0002) &&
                Objects.equals(icCard0015, logEntry.icCard0015) &&
                Objects.equals(icCard0019, logEntry.icCard0019) &&
                Objects.equals(ef04Info, logEntry.ef04Info) &&
                Objects.equals(ef01Info, logEntry.ef01Info);
    }

    @Override
    public int hashCode() {
        return Objects.hash(obuId, icCard0002, icCard0015, icCard0019, ef04Info, ef01Info);
    }
}
